package com.software.course.service.impl;

import com.software.course.dao.LoginDao;
import com.software.course.enity.User;
import com.software.course.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginDao loginDao;

    @Override
    public User LoginUser(String account, String password) {
        return loginDao.LoginUser(account,password);
    }
}
